Install Postgres.app. brew install postgresql. Problem: FATAL: role "<name of app/db here>" does not exist. Solution: cd /usr/lib. createuser -s -r ... ... <看更多>
create user bootcamp=# create user role_name with login password 'admin'; CREATE ROLE # show tables using user 'postgres' bootcamp=# \d List ... ... <看更多>